﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Plugin.ApprovalFlow.Service.ApprovalflowGroup.Dto;
public class ApprovalGroupTreeDto
{
    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }

    ///// <summary>
    ///// 分组Id
    ///// </summary>
    //public long Gid { get; set; }
    /// <summary>
    /// 分组名称
    /// </summary>
    public string GroupName { get; set; }   

    /// <summary>
    /// 分组
    /// </summary>
   
    public long GroupId { get; set; }
    /// <summary>
    /// 编号
    /// </summary>
   
    public string? Code { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
 
    public string Name { get; set; }
    /// <summary>
    /// 图标
    /// </summary>
  
    public string? Icon { get; set; }
    /// <summary>
    /// 表单
    /// </summary>
    public string? FormJson { get; set; }

    /// <summary>
    /// 流程
    /// </summary>
    public string? FlowJson { get; set; }
    /// <summary>
    /// 子元素
    /// </summary>  
    public List<ApprovalGroupTreeDto> Child { get; set; }=new List<ApprovalGroupTreeDto>();
}
